package com.elmcode.server.elmenum;


public enum OrderStatusEnum {

    PENDING_PAYMENT(1,"待付款"),
    PENDING_CONFIRMED(2,"待接单"),
    RECEIVED(3,"已接单"),
    DELIVERING(4,"派送中"),
    COMPLETED(5,"已完成"),
    CANCELLED(6,"已取消"),
    REFUNDED(7,"退款")
    ;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
